package com.diver.flinkdemo.mapper.mysqlMapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.diver.flinkdemo.entity.xxt.CallRecord;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author gfy
 * @since 2022-03-02
 */
public interface CallRecordMapper extends BaseMapper<CallRecord> {

    /**
     * 获取通话记录列表
     * @param imei
     * @param limit
     * @return
     */
    List<CallRecord> getCallRecordList(@Param("imei") String imei, @Param("limit") Integer limit);
}
